@ECHO OFF
IF EXIST "%ProgramFiles(x86)%" (
   junction "%ProgramFiles(x86)%\JetBrains\ReSharper\VS2005\Plugins\VstsUnit" "C:\dev\JamesKovacs.ReSharper.UnitTestSupport\JamesKovacs.ReSharper.UnitTestSupport.VstsUnit\bin\Release"
   ECHO Created VstsUnit junction "%ProgramFiles(x86)%\JetBrains\ReSharper\VS2005\Plugins\VstsUnit"
) ELSE (
   junction "%ProgramFiles%\JetBrains\ReSharper\VS2005\Plugins\VstsUnit" "C:\dev\JamesKovacs.ReSharper.UnitTestSupport\JamesKovacs.ReSharper.UnitTestSupport.VstsUnit\bin\Release"
   ECHO Created VstsUnit junction "%ProgramFiles%\JetBrains\ReSharper\VS2005\Plugins\VstsUnit"
)